home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Gold Medal Software 5
/
Gold Medal Software - Volume 5 (Gold Medal) (1995).iso
/
games
/
egavga
/
numgam11.arj
/
NUMBER.BAS
< prev
next >
Wrap
BASIC Source File
|
1994-12-14
|
1KB
|
63 lines
REM ** Start of game= War of 2010
RANDOMIZE TIMER
CLS
COLOR 4
PRINT "********************************************************************************"
SCREEN 12
startCol = 0
startRow = 0
endCol = 639
endRow = 479
FOR p = 1 TO 40
COLOR 3
LINE (startCol, startRow)-(endCol, endRow), , B
startCol = startCol + 5
startRow = startRow + 5
endCol = endCol - 5
endRow = endRow - 5
NEXT p
LOCATE 15, 32
COLOR 2
PRINT "Welcome to War of 2010!"
SLEEP 2
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT "The computer is thinking of a number between 1-100"
SLEEP 2
LET a = INT(100 * RND) + 1
PRINT "Ok... It has one"
PRINT
PRINT
PRINT
PRINT
PRINT
PRINT "Ok... Try to guess the number"
PRINT "You have 10 chances"
FOR x = 1 TO 10
INPUT b
IF b < a THEN PRINT "Not quite, to small"
IF b > a THEN PRINT "Not quite, to large"
IF b = a THEN PLAY "l16<b.>c d.c# d.c# l4 d l16 e.<b>l4 c l16 d.<a l4 b"
IF b = a THEN PRINT "YOU WIN!!!!!"
IF b = a THEN END
NEXT x
PRINT "Sorry you lost... Try again!"
PRINT "This was created on The Magician's Corner BBS 617-277-5846"
END